package com.homer.commons.sscpprotocol.server.servlet;

import java.io.OutputStream;
import java.io.PrintWriter;

public abstract interface SscpServletResponse {
	
	public abstract byte getSync_head();

	public void setSync_head(byte sync_head);
	
	public abstract byte getSync_end();

	public void setSync_end(byte sync_end);

	// public void setMessageId(short messageId);
	// public abstract short getMessageId();
	// public abstract Integer getCheckSum();
	public abstract byte getCommandLength();

	public void setCommandLength(byte commandLength);

	// public void setCheckSum(Integer checkSum);
	public abstract byte getKey();

	public void setKey(byte key);

	public abstract byte[] getMainDeviceID();

	//
	public abstract byte[] getSlaveDevideID();

	public abstract void setMainDeviceID(byte[] mainDeviceID);

	//
	public abstract void setSlaveDevideID(byte[] slaveDevideID);

	public abstract void setContent(byte[] paramArrayOfByte);

	public abstract void setContent(String paramString);

	public abstract OutputStream getOutputStream();

	public abstract void setEncoding(String paramString);

	public abstract String getEncoding();

	public abstract PrintWriter getPrintWriter();
}